<form class="form-horizontal row" >
	<div class="form-group">
	    <label class="col-md-2 control-label">姓名：</label>
	    <div class="col-md-4">
			<div class="control-content">{{user.name}}</div>
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-md-2 control-label">用户名：</label>
	    <div class="col-md-4">
			<div class="control-content">{{user.nativeid}}</div>
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-md-2 control-label">权限：</label>
	    <div class="col-md-4">
			<div class="" ng-repeat="role in roles">
				<label class="control-label"><input type="checkbox" ng-model="role.checked"  />{{role.name}}</label>
			</div>
	    </div>

	</div>
	<div class="form-group">
	    <label class="col-md-2 control-label">密码：</label>
	    <div class="col-md-4">
			<input ng-show="passwordEdit" type="password" ng-model="user.password" class="form-control" placeholder="大于等于6位" />

	    	<button ng-show="!passwordEdit" ng-click="passwordEdit = !passwordEdit" class="btn btn-sm" >编辑</button>
	    	
	    	
	    </div>
	    <div class="col-md-2">
	    	<button ng-show="passwordEdit" ng-click="passwordEdit = !passwordEdit" class="btn" >取消</button>
	    </div>
	</div>
	<div class="form-group">
 		<label class="col-md-2 control-label"></label>
	    <div class="col-md-4">
			<button type="submit" ng-click="submit()" class="btn btn-primary" >提交</button>
		</div>
	</div>
</form>